 |
 |
 |
 |
 |
 |
 |
 |
 |
|
The
special value NULL can be assigned to
|
|
 |
|
|
|
|
|
the pointer to
indicate that its value is defined
|
|
but that it does
not point to anything.
|
|
|
|
The
NULL is usually equal to 0.
|
|
 |
|
|
|
|
|
|
A
convenient way to set the initial value of a
|
|
 |
|
|
|
|
|
pointer to NULL
is in the definition itself:
|
|
|
|
int
*pi = NULL, *pj = NULL;
|
|